<center><b>{% if $is_show ==1 %}内容查看{%else%}{%$act_title%}供应商负责人{%/if%}</b></center>
<table border=1>
<form action="index.php?c=info_supplier_person&m={%$act%}&post=1&supplier_id={%$supplier_id%}" method=post name=frm>
		<tr>
		<td>负责人姓名</td>
		<td><input type=text name="person_name" size=30 value='{%$person_name%}' {% if $is_show ==1 %} readonly {%/if%}></td>
	</tr>
		<tr>
		<td>手机号</td>
		<td><input type=text name="person_mob" size=30 value='{%$person_mob%}' {% if $is_show ==1 %} readonly {%/if%}></td>
	</tr>
		<tr>
		<td>联系电话</td>
		<td><input type=text name="person_tel" size=30 value='{%$person_tel%}' {% if $is_show ==1 %} readonly {%/if%}></td>
	</tr>
		<tr>
		<td>邮箱</td>
		<td><input type=text name="person_mail" size=30 value='{%$person_mail%}' {% if $is_show ==1 %} readonly {%/if%}></td>
	</tr>
		<tr>
		<td>QQ</td>
		<td><input type=text name="person_qq" size=30 value='{%$person_qq%}' {% if $is_show ==1 %} readonly {%/if%}></td>
	</tr>
		<tr>
		<td>MSN</td>
		<td><input type=text name="person_msn" size=30 value='{%$person_msn%}' {% if $is_show ==1 %} readonly {%/if%}></td>
	</tr>
		<tr>
		<td>生日</td>
		<td>			
			<input type=text name="person_birthday" id="person_birthday" value='{%$person_birthday|date_format:"%Y-%m-%d"%}' readonly>
			<script>
				Calendar.setup({
					inputField     :    "person_birthday",   // id of the input field
					ifFormat       :    "%Y-%m-%d",       // format of the input field
					showsTime      :    false,
					timeFormat     :    "24"
				});
			</script>
		</td>
	</tr>
		<tr>
		<td>性别</td>
		<td>
			<select name=person_sex {% if $is_show ==1 %} readonly {%/if%}>
				{%html_options selected=$person_sex options=$sex_arr%}
			</select>
		</td>
	</tr>
	<!--
		<tr>
		<td>最后更新人</td>
		<td><input type=text name="laster" size=30 value='{%$laster%}' {% if $is_show ==1 %} readonly {%/if%}></td>
	</tr>	
		<tr>
		<td>update_time</td>
		<td><input type=text name="update_time" size=30 value='{%$update_time%}' {% if $is_show ==1 %} readonly {%/if%}></td>
	</tr>
		<tr>
		<td>supplier_id</td>
		<td><input type=text name="supplier_id" size=30 value='{%$supplier_id%}' {% if $is_show ==1 %} readonly {%/if%}></td>
	</tr>
	-->
		<tr>
		<td colspan=2 align=center>
		<input type=hidden name='person_id' id='person_id' value='{%$person_id%}'>
		{% if $is_show ==1 %}
		<input type="button" value="返回" class="btn" onclick="javascript:history.go(-1);">
		{% else %}
		<input type=submit value="提交" class="btn">&nbsp;&nbsp;
		<input type=reset value="重置" class="btn">
		{% /if %}
		</td>
	</tr>
</form>
</table>